package com.liuxingwu.mapper;

import com.liuxingwu.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 扫地生_LiuXingWu
 */
public interface UserMapper {
    public List<User> queryUser();

    // 添加一个用户
    int addUser(User user);

    // 删除一个用户
    int deleteUser(@Param("id") int id);
}
